/*
 * @Author: Jimmy
 * @LastModifiedBy: Jimmy
 * @Date: 2024-07-07 18:21:58
 * @LastEditTime: 2024-07-07 18:22:05
 * @FilePath: /nest_study/web/src/utils/date.ts
 */
import dayjs from 'dayjs';

 // 不可选择日期(今日后)
 export const disabledDate = (current: any) => {
    return current && current > dayjs().endOf('day');
};

//获取当前时间戳
export const getNowTimeKey = ()=>{
    return new Date().getTime().toString();
}